<?php
class DB extends Object{

	var $loaded;

	function &getInstance() {
		static $instance = array();
		if (!$instance) {
			$instance[0] =& new DB();
		}
		return $instance[0];
	}

	function __call($methodName, $args){
		var_dump($methodName);
		var_dump($args);
	}

}